package cn.wolfcode.service;

import cn.wolfcode.domain.Notice;
import cn.wolfcode.qo.NoticeQueryObject;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INoticeService {

    void insert(Notice notice) ;

    void delete(Long id) ;

    void update(Notice notice) ;

    Notice selectById(Long id) ;

    List<Notice> selectAll();

    PageInfo<Notice> query(NoticeQueryObject qo);

    void issue(Long id,boolean issue);

}
